home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr44
/
sndoff20.zip
/
ERRLVL.LST
< prev
next >
Wrap
File List
|
1993-04-07
|
2KB
|
41 lines
Sound Off! Error Codes:
These errors can be check with the Dos ErrorLevel function from
within your Batch Files. You can then continue the batch file process
based on the error returned.
If you are not familar with this function, refer to your Dos
manual, or a third party book on Batch File Programming.
Code Reason
----- -------------------------------
0 Normal Exit
1 Text in Script File Misplaced
2 Could not open Script File
3 Script File not found
4 Aborted by user keypress
Explanations:
Most are self explanatory, the others are:
#1) There was a text character placed where a numeric value should
have been, perhaps a period before the numbers......
Also happens if a comment is placed at the end of a script
without Zeros being entered as the last variables (notes).
#2) This may happen if the file attribute was mistakenly set to a
SYS file setting or something. Usually there will never be this
'type' of error, but its checked for anyway.
#3) The Script File is searched for first in the current directory,
then all directories included in the PATH statement.
If the script file resides in a "hidden" directory, or on another
drive, then include drive\path\ with the filename as in:
SOUNDOFF /f a:\tunes\bye-bye
Remember, your script files MUST have the extension of .SOS
for SOUND files, and .SOM for MUSIC files......
and the extension should NOT be given in the command!